@isTest
private class InitNationalCaseFieldsTest{

    private static final integer batchSize = 201;
    
    static testmethod void testBatchPassive(){
       Test.StartTest();
       InitNationalCaseFields batch = new InitNationalCaseFields(batchSize, false);
       ID batchprocessid = Database.executeBatch(batch, batchSize);
       Test.StopTest();
       
       AsyncApexJob aaj = [SELECT Id, Status, JobItemsProcessed, TotalJobItems, NumberOfErrors FROM AsyncApexJob WHERE ID =: batchprocessid ];
       //System.AssertEquals(0, aaj.NumberOfErrors);
   }
      
    static testmethod void testBatchActive(){
       Test.StartTest();
       InitNationalCaseFields batch = new InitNationalCaseFields(batchSize, true);
       ID batchprocessid = Database.executeBatch(batch, batchSize);
       Test.StopTest();
       
       AsyncApexJob aaj = [SELECT Id, Status, JobItemsProcessed, TotalJobItems, NumberOfErrors FROM AsyncApexJob WHERE ID =: batchprocessid ];
       //System.AssertEquals(0, aaj.NumberOfErrors);
   }
}